<template>
  <a-result status="403" title="403 UNAUTHORIZED" sub-title="对不起，您没有权限访问这个页面">
    <template #extra>
      <a-button type="primary" @click="login">
        登录
      </a-button>
    </template>
</a-result>
</template>

<script setup>
import {useRoute, useRouter} from "vue-router";
import {onMounted} from "vue";

const route = useRoute()
const router = useRouter()


const login = () => {
  router.push(`/login?refer=/admin/profile`)
}
</script>

<style scoped>

</style>